package mlz.f_object;

public class Student {
    private String name; //null
    private int age;
    private String gender;
    private int money = 1000;


    public Student() {
    }

    public Student(String name, int age, String gender, int money) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
